<?php 

class CatalogoCarreras_model extends CI_Model{ 
	  private $_tabla = 'catalogoCarreras';
	  public $idCatalogo = 0;
      public $idCarrera = 0;

    public function getAll(){
    	return $this->db->get($this->_tabla)->result_array();
    }
    public function insert(){
    	$this->db->insert($this->_tabla,$this);
    }
}


  ?>
